<%-- 
    Document   : stockForm
    Created on : 13-oct-2013, 18:26:29
    Author     : General
--%>
<%@include file="header.jsp" %>

<div class="container">
    <div class="row">
        <div class="span8 offset2">
            
            <form:form method="post" id="${prefix}stockForm${sufix}" action="Stock/add" class="form-horizontal">
                
                <c:if test="${not empty stockId }">
                    <form:input hidden="true" path="stock_id"/>
                </c:if>  
                
                <div class="control-group">
                    <form:label cssClass="control-label" path="name">Name:</form:label>
                    <div class="controls">
                        <form:input path="name"/>
                    </div>
                </div>
                <div class="control-group">
                    <form:label cssClass="control-label" path="symbol">Symbol:</form:label>
                    <div class="controls">
                        <form:input path="symbol"/>
                    </div>
                </div>
                <div class="control-group">
                    <form:label cssClass="control-label" path="sumary">Desc:</form:label>
                    <div class="controls">
                        <form:input path="sumary"/>
                    </div>
                </div>                    
                
            </form:form>
        </div> <%-- class="span8 offset2" --%>
    </div> <%-- class="row" --%>
</div> <%-- class="container" --%>

<c:remove var="prefix"></c:remove>
<c:remove var="sufix"></c:remove>